SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7143df62d6ce3fa80d2bd182436e25531663c1fd4425faf45f94083c6fc24367' 
  AND token = '7A+K8P4QkZq7Itbg29bPGK280MouI3Houvsm861bLV8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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