SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '05b99e8e563600674bc2d39cb35f20e01667465b1c09c6aa961c789121da9fce' 
  AND token = 'PsroGl1Pu72P1K3m9bahyajhJ1D7FrwZ76mkDhsCSo8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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