SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'de37170b3120f0b446f5ff90fc63a609204ddd3c532aab969c27409fd4cc7ca7' 
  AND token = 'Kc/2kQkGfXBmE8ysc0dLD9md/OvT3AkeTsq8aAb4euQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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