SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a1a57b697dc85c596fdb6f2bd7e83a3614251c5ad597ef661d1f405b179e65c' 
  AND token = 'eZ+LFyh832K2Qb9JudGkwgU3dKRQ3uKKp7q7bOU6s4c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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