SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51de90371b0bfdc0968f78b269b16c83b5e2f03d8c1a7e71561e6ec33a3f18d7' 
  AND token = 'pzGyx46hZN8vh8ifYUA5tTh4zIWaa5PRFwhKg4TmuKI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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