SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a671d599d66ea0f95ef326563d34d36e3a904de555922bbce9f1e3ebc3e16518' 
  AND token = 'Wd5j+LwP+dBMYOOpLuOyTCS6DniHA8dBs/t8FlItWpQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}