SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cca3a8877a9e1aa894092617632a6ef84014eb40fafb8b43f03b11eaa59f2d56' 
  AND token = 'mn6jYoqNDNA/iwofaviAGBBWmhMaeTg7fsduqO270/Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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