SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'beae1b24a56d520bb3e5694f1f9ab9bf001afb4509cf465cda4f8cbb8876ac3d' 
  AND token = 'EHTcUIL30x7ttcz4mMC0goecngy6enPKvLX8TqNrizE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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