SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea78cda1f6b98844dd6751a441b0fa230903180f568b32dfa912eda432845478' 
  AND token = 'BIpqXTzyCp6f35Oe7Oc/RgfbM3c2UzeL2tm481rgkm0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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