SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ecc24d698408dde801d32b934c88c3d20b17f4e1b66b1769354116eb5477d0e' 
  AND token = 'KXn8scvPoDDbNXnL8QQnGkdamxwn3w91jGmMLFMuF9o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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