SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51be325cf891f57a836c7c2c9933fc75dc7f1a0da16a44bb818cbe494edc54a3' 
  AND token = '2ff/dLkXSJ0ubdUzEcUsF+OOTYHOMX856xjAXVm0Huk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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