SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b0471a2a4b5101c2ba877f59d9645839d60eedd630b5cbc20e25d7500efeef78' 
  AND token = 'hBhgKF++iWHS08ZKk025ZhZvewd1+mvfpaZQdtKy00c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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