SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d17b034f548a293005d988c568a6f18ca1ffd208678488d9564823c194e8b6a' 
  AND token = '5I4TH98ccpwnsqGz/m10LQLyHxwzScUVByo1grNmjUc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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