SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecc2457112e700597c8533044fe6b0c14dd46a71614181d82bcd0de331bd1aff' 
  AND token = 'dJW+Tuym54mglTqn9I2szJEJ4XefzyJY6vlnWT52sCk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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