SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10bfb93d311f32b7354b875e492fe191b50e172ec134df67a260203015e4846a' 
  AND token = 'yyXyyZbNc5dnxeNuGDi72SAktLlfcjgl9ki5EMHXqB8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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