SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8b4bfc3e902d938624928bda3e963ea185f1d3a4feb88b70b1e57c069b9d19f' 
  AND token = '9nXgAs/B9Tn7U2UaYvhh7nhx3O034euW7+nnw/q5mHE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}