SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '847ec7c8a37cb581761303741d32aef34d72f15b2f0b6c60fc090ea79ecef9a9' 
  AND token = 'ewRFzcERfJR7XZHIdqSiSZozClebC6AUi0fJ3JcX2tE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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