SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fd0a8a0618376f086324f46df5fd5452e7a0493da3a78ea5e3f57c10e299ace8' 
  AND token = 'Dn+/iOPKlhSMBd5cn837B51/1NfygzMr63gx+9y77is=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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