SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '344e460854b1d1d8c913feddb47b61595c6c7494ec79c3535bdb9faba24b05e1' 
  AND token = '6bnpAnYPNaosK4trbWq24LsVlIeg2NuxD3IH075q22w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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