SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a71ee0403c28f1d1248d35caed7ab79c2a0450f3113ff1ce13c6b66f3c1c11bd' 
  AND token = 'hEs5fHk6FDj+Jt7WQfq+dmuh/NRMolVKqYr3F0EffMg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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