SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6440b185667402fb8b46f24343d68552e45f88966d30e425ed86bd3a590c61bc' 
  AND token = 'Ug3b0JEgRUY1p1SwkzQDzSI9TCwanIfzQNnY6l31Mco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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