SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8045cf0074af8bc523ba29c485db6eefd826fa310e2f64a353e6f597cfbb44b' 
  AND token = 'eJ814RQQNjB/JbBiVkFQlTyv7aMx2x+L6IMiYN1Nx58=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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