SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a501e5f4ab11dcca368db5446456d5ae8fdf7eba35be374f0c0475235467721d' 
  AND token = 'a8Foc95aQJWDeoAb/074ey502oy4dqTLk4dvsW6+LjI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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