SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac3f81ba4742212dc732f45c2ffb38464dfac9bc6a45e741dc306d2ea329859b' 
  AND token = 'Z+R3QUuiOGEL7cMwzA2QPW06rlIX/Qa1LUfKHYQ4Wkc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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