SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7217002ef94696bd12337fc96ec93d796a3e513a8de8b96e949592ce9b22deb' 
  AND token = 'lMtapb2Q25HEZttlyB7NousAJwqmn4b6IVuWFtSysWg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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