SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a509278c158b006721b7f36a1f4522e0599be263cc5755804a4d113aadb81bc6' 
  AND token = 'jfnEmPUBZjF7c72ijoPfgVmps9CFmwS/nq9NAbaxFKc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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