SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3142d0db7c704beefd3104ff633a70e23a18d35e501af9283756d222a6ccced2' 
  AND token = 'Uh2rHiqeKxf/Ouhw4ygYPW2XdRn2+yBOwGHu2NBsAVA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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